package com.shujia.extends_.exer;

public class PersonTest {

    public static void main(String[] args) {
        Teacher teacher = new Teacher();
        teacher.setName("赵六");
        teacher.setWorkNo("9527");
        teacher.setTeachYear(5);

        teacher.eat();

        teacher.teach();
    }
}
